package com.hzy.oms.service;

import com.hzy.oms.domain.WechatPaymentHistory;
import com.hzy.oms.domain.vo.WechatPaymentHistoryVo;
import com.hzy.oms.domain.bo.WechatPaymentHistoryBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 微信订单Service接口
 *
 * @author zengxin
 * @date 2023-10-18
 */
public interface IWechatPaymentHistoryService {

    /**
     * 查询微信订单
     */
    WechatPaymentHistoryVo queryById(Long id);

    /**
     * 查询微信订单列表
     */
    TableDataInfo<WechatPaymentHistoryVo> queryPageList(WechatPaymentHistoryBo bo, PageQuery pageQuery);

    /**
     * 查询微信订单列表
     */
    List<WechatPaymentHistoryVo> queryList(WechatPaymentHistoryBo bo);

    /**
     * 新增微信订单
     */
    Boolean insertByBo(WechatPaymentHistoryBo bo);

    /**
     * 修改微信订单
     */
    Boolean updateByBo(WechatPaymentHistoryBo bo);

    /**
     * 校验并批量删除微信订单信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
